import request from "../../utils/request";
// 获取category1List
export const reqGetCategory1List = () => {
  return request({
    method: "GET",
    url: `/admin/product/getCategory1`
  });
};
// 获取category2List
export const reqGetCategory2List = category1Id => {
  return request({
    method: "GET",
    url: `/admin/product/getCategory2/${category1Id}`
  });
};
// 获取category3List
export const reqGetCategory3List = category2Id => {
  return request({
    method: "GET",
    url: `/admin/product/getCategory3/${category2Id}`
  });
};
